/* Layout */
import Layout from "@/layout";

export default {
  path: "/order",
  component: Layout,
  hidden: false,
  alwaysShow: true,
  meta: { title: "订单", icon: "documentation", noCache: false },
  children: [
    {
      path: "orders",
      component: () => import("@/views/order/order/manage/index"),
      name: "Orders",
      hidden: false,
      meta: { title: "订单管理", icon: "form", noCache: false },
    },
    {
      path: "finance",
      component: () => import("@/views/order/order/finance/index"),
      name: "Finance",
      hidden: false,
      meta: { title: "财务核计", icon: "money", noCache: false },
    },
    {
      path: "input",
      component: () => import("@/views/order/order/manage/input"),
      name: "Input",
      hidden: true,
      meta: { title: "详情页录单", icon: "edit", noCache: false },
    },
    {
      path: "overview",
      component: () => import("@/views/order/order/overview/index"),
      name: "overview",
      hidden: false,
      meta: { title: "订单总览", icon: "education", noCache: false },
    },
    {
      path: "product",
      component: () => import("@/views/order/order/product/index"),
      name: "product",
      hidden: false,
      meta: { title: "商品类型", icon: "product", noCache: false },
    },
    {
      path: "attrs",
      component: () => import("@/views/order/order/attrs/index"),
      name: "attrs",
      hidden: false,
      meta: { title: "订单属性", icon: "clipboard", noCache: false },
    },
    {
      path: "attrsmanage",
      component: () => import("@/views/order/order/attrs/attrsManage"),
      name: "attrsManage",
      hidden: true,
      meta: { title: "属性管理", icon: "dict", noCache: true },
    },
    {
      path: "attrsedit",
      component: () => import("@/views/order/order/attrs/attrsEdit"),
      name: "attrsEdit",
      hidden: false,
      meta: { title: "改单管理", icon: "tool", noCache: false },
    },
    {
      path: "attrseditdetail",
      component: () => import("@/views/order/order/attrs/attrsEditDetail"),
      name: "attrEditDetail",
      hidden: true,
      meta: { title: "改单详情", icon: "tool", noCache: false },
    },
    {
      path: "detail",
      component: () => import("@/views/order/order/overview/detail"),
      name: "detail",
      hidden: true,
      meta: { title: "订单详情", icon: "DataAnalysis", noCache: true },
    },
  ],
};
